Skip to content

multidb: let one connection be reused, and other not#74

Closed
maho wants to merge 5 commits intopytest-dev:masterfrom
maho:reuseperconn
Closed

multidb: let one connection be reused, and other not#74
maho wants to merge 5 commits intopytest-dev:masterfrom
maho:reuseperconn

Conversation

@maho
Copy link
Copy Markdown

@maho maho commented Feb 23, 2014

set per settings.py

instead (besides) of set --reuse_db in cmdline, I can set TEST_REUSE in db setting, which let me reuse one db (postgres in this case) , which is big and expensive to create/copy, and create other (small sqlite).

@pelme
Copy link
Copy Markdown
Member

pelme commented Jul 10, 2014

Hi @mahomahomaho, thanks for this report and patch.

I am working to make database setup in pytest-django generally more flexible, to make customizations like this very easy, without adding custom settings or command line options.

I made a note about this in #128. There will hopefully be some progress with regard to this during the EuroPython sprints and I will give an update after the sprints.

…into reuseperconn

Conflicts:
	pytest_django/db_reuse.py
@blueyed
Copy link
Copy Markdown
Contributor

blueyed commented Feb 26, 2019

Closing as per previous comment.

@blueyed blueyed closed this Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants